<div id="content">
	<div id="mainbar">
		<div class="subheader">
			<h1 id="h-top-questions"><?php echo $title; ?></h1>
			<div class="clearfix"></div>
			<small><?php echo $subtitle; ?></small>
		</div>
		<div class="subheader">
			<div id="ajax-load" style="display: none;"></div>
		</div>
		<div class="other-forms" id="se-login" style="width: 97.8%;">
		
			<?php echo form_open('submit_ctrl', array('id'=>'topic_adding_form')); ?>
				<span class="label">Topic Title</span>
				<div id="js-gig-title-wrap" class="input-wrap gig-edit-title-wrap">
					<textarea rows="1" placeholder="click here to write a topic" name="topic_title" id="topic_title" data-locale="null" cols="40" class="topic-title-text" style="text-indent: 100px; height: 44px;" maxlength="80"></textarea>
					<div class="char-count">
						<em>0</em> / 60 max
					</div>
					<span class="gig-before-title">Top five</span>
				</div>
				<br /> <span class="label">Choices</span>
				<div id="js-gig-title-wrap" class="input-wrap gig-edit-title-wrap">
					<span class="choices_label">First Choice</span>
					<input type="text" name="choice_1" />
					<span class="choices_label">Second Choice</span>
					<input type="text" name="choice_2" /> 
					<span class="choices_label">Third Choice</span>
					<input type="text" name="choice_3" /> 
					<span class="choices_label">Fourth Choice</span>
					<input type="text" name="choice_4" /> 
					<span class="choices_label">Fifth Choice</span>
					<input type="text" name="choice_5" />
				</div>
				<br /> 
				<span class="label">Tags</span>
				<div id="js-gig-title-wrap" class="input-wrap gig-edit-title-wrap">
					<textarea name="tags"></textarea>
					<div class="char-count">
						<em>Please input tags comma seperated</em> / 7 tags max
					</div>
				</div>
				<br /> 
				<span class="label">Short Description</span>
				<div id="js-gig-title-wrap" class="input-wrap gig-edit-title-wrap">
					<textarea name="short_description"></textarea>
					<div class="char-count">
						<em>0</em> / 160 max
					</div>
				</div>
				<input type="hidden" value="<?php echo rand('5', '100'); ?>" name="random_code" />
				<input type="hidden" value="1" name="isActive" />
				<input type="hidden" value="<?php echo $user_id; ?>" name="user_id" />
				<br />
				
				<span class="label">
					<div class="form-submit cbt">
						<input type="button" value="Add this topic" name="topic-add-button" id="topic_add_button">
					</div>
				</span>
			<?php echo form_close(); ?>
		</div>
	</div>
	<?php $this->load->view('layout/sidebar'); ?>
</div>
